/*
 * VideoRender.h
 *
 *  Created on: 2016年3月17日
 *      Author: terry
 */

#ifndef VIDEORENDER_H_
#define VIDEORENDER_H_

#include "MediaRender.h"


namespace av
{

class VideoRender : public MediaRender
{
public:
	virtual ~VideoRender() {}

	virtual int open(void* hwnd) =0;

	virtual void setVideoWnd(void* hwnd) =0;

	virtual bool isFullscreen() =0;

	virtual int setFullscreen(bool full) =0;

	virtual int setBackImage(const char* filepath) =0;

	virtual int setRatio(int width, int height) =0;

	virtual void getRatio(int& width, int& height) =0;


	virtual void setRefClock(ReferenceClock* refClock) =0;

	virtual void step() =0;

	virtual void nextKeyFrame() =0;

	virtual void setEventSink(RenderEventSink* pSink) =0;

};



} /* namespace av */

#endif /* VIDEORENDER_H_ */
